package com.example.nbb.Dao;

import com.example.nbb.Entity.CollectionEntity;
import com.example.nbb.Entity.CollectionProductViewEntity;
import com.example.nbb.Entity.ProductShopViewEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CollectionDao {

List<CollectionProductViewEntity> selectAll(int userId);

int addCollection(int userId,int productId);

int deleteCollection(int collectionId);

}
